package com.hzy.pms.mapper;

import com.hzy.pms.domain.Sku;
import com.hzy.pms.domain.vo.SkuVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * sku信息Mapper接口
 *
 * @author zengxin
 * @date 2023-10-17
 */
public interface SkuMapper extends BaseMapperPlus<SkuMapper, Sku, SkuVo> {

    void updateStockById(@Param("skuId")Long skuId,  @Param("optDate")Date optTime,  @Param("quantity")Integer quantity);
}
